]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Add coverPane to stack instead of BoxLayout
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 3 Jul 2013 10:25:01 +0000 (12:25 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 9 Jul 2013 21:19:20 +0000 (23:19 +0200)
The event catcher that covers the entire primary monitor during
transitions is currently inside a BoxLayout, relying in its
odd support for fixed position actors.
We already have a proper stack widget in place, move it there.

https://bugzilla.gnome.org/show_bug.cgi?id=703808

js/ui/overview.js

index 8accac381100dc5ed91966446f0446b7c6aa7f6c..99814ac3d417da012eccbb52e6b8bad3fb53a7bf 100644 (file)
@@ -148,7 +148,7 @@ const Overview = new Lang.Class({
         // Dash elements, or mouseover handlers in the workspaces.
         this._coverPane = new Clutter.Actor({ opacity: 0,
                                               reactive: true });
-        this._overview.add_actor(this._coverPane);
+        this._stack.add_actor(this._coverPane);
         this._coverPane.connect('event', Lang.bind(this, function (actor, event) { return true; }));
 
         this._stack.add_actor(this._overview);